{{!
  Copyright (c) HashiCorp, Inc.
  SPDX-License-Identifier: BUSL-1.1
}}

<Toolbar />

{{#if (gt this.model.length 0)}}
  <Oidc::ClientList @model={{this.model}} />
{{else}}
  <EmptyState
    @title="No applications allowed"
    @message="Access to this key has been limited, and no applications are allowed to use it. Edit the key to allow access."
  >
    <Hds::Link::Standalone
      @icon="chevron-right"
      @iconPosition="trailing"
      @text="Edit key"
      @route="vault.cluster.access.oidc.keys.key.edit"
    />
  </EmptyState>
{{/if}}